<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<%
	String contextPath = request.getContextPath();
%>
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content=",initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="apple-mobile-web-app-status-bar-style" content="black" />
	<title>一键预约</title>
	<!-- inject:css -->
	<link rel="stylesheet" href="<%=contextPath %>/resources/css/main.css">
	<link rel="stylesheet" href="<%=contextPath %>/resources/css/lib/layer.css">
	<!-- endinject -->
</head>

<body>
	<div class="main makeAppointment">
		<h2 class="appointmentHeader">请填写预约详情:</h2>
		<div class="appointmentBody">
				<div class="consigneeInfo">

					<div class="itemFirst dateTimeSelect">
						<div class="date ">
							<input placeholder="请选择服务日期" type="text" onfocus="(this.type='date')" id="date">
						</div>
						<div class="time ">
							<input placeholder="请选择服务时间" type="text" onfocus="(this.type='time')" id="time">

						</div>
					</div>
					<input type="hidden" value="${openid }" id="openid">
					<input type="hidden" value="${memberAddress.name }" id="name">
					<input type="hidden" value="${memberAddress.mobile }" id="mobile">
					<input type="hidden" value="${memberAddress.city}" id="city">
					<input type="hidden" value="${memberAddress.address }" id="address">
					<c:if test="${!empty memberAddress }">
						<div class="itemSecond userInfo">
							<p><span class="nick">${memberAddress.name }</span><span class="phone">${memberAddress.mobile }</span></p>
							<p class="address">${memberAddress.city}市${memberAddress.address }</p>
							<a href="<%=contextPath %>/usercenter/editaddress.do?id=${memberAddress.id }&moduleType=3" class="editLink">修改</a>
						</div>
					</c:if>
					<c:if test="${empty memberAddress }">
						<div class="itemSecond userInfo">
						<a href="<%=contextPath %>/usercenter/editaddress.do?id=&moduleType=4" class="editLink">修改</a>
						</div>
					</c:if>
					<div class="remarks">
						<textarea name="description" id="description" placeholder="备注"></textarea>
					</div>
					<div class="btnWrap">
						<button type="button" class="btn appointmentBtn" onclick="doAppointment()">预约</button>
			
					</div>
				</div>

		</div>
	</div>


</body>
<script src="<%=contextPath %>/resources/bower_components/zepto/zepto.min.js"></script>
<script src="<%=contextPath %>/resources/js/lib/layer.m.js"></script>
<script src="<%=contextPath %>/resources/js/server.domian.js"></script>
<script src="<%=contextPath %>/resources/js/order.js"></script>
</html>